package com.itheima.io.bufferedinputstream.demo02;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;

public class FileInputStreamDemo02 {

    public static void main(String[] args) throws IOException {

        FileInputStream fileInputStream = new FileInputStream("itheima-io-bufferedinputstream\\a.txt");

        int by = fileInputStream.read();
        System.out.println(by);

        by = fileInputStream.read();
        System.out.println((char)by);

        fileInputStream.close();

    }



}
